import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {AComponent} from './a/a.component';
import {D1Directive} from '../directive/d1.directive';

import {BComponent} from './b/b.component';
@NgModule({
  imports: [
    CommonModule
  ],
  declarations: [
    //声明共用component
    AComponent,
    //声明共用directive,
    BComponent,
    D1Directive
  ],
  exports: [
    AComponent,
    D1Directive,
    BComponent
  ],
  providers: [
  ]
})
export class Public1Module {
}
